package com.baizhi.luoht.entity;/**
 * @Author:luoht
 * @Description：
 * @Date：Create in 20:59 2018/10/24
 */

import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @program: ems
 * @description: Entity of User
 * @author: luoht
 * @create: 2018-10-24 20:59
 **/
@Component
public class User implements Serializable{
    private String username;
    private String password;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public User() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
